import React from 'react'
import {useRoutes} from 'react-router'
import {routes} from './routers/index'
const App:React.FC = () => {
  const RouteElement = useRoutes(routes)
  return (
    <div className='app'>
      {
        RouteElement
      }
      
    </div>
  )
}

export default App